function money(v) {
  var num = Number(v) / 100
  var nums = num.toString()
  if (nums.indexOf('.') === -1) {
    nums += '.00'
  } else {
    var cellNumber = nums.split('.')[1]
    if (cellNumber.length === 1) {
      nums += '0'
    }
  }
  return '￥' + nums
}
// console.log(money(10000), money(1090))
export default { money }
